<?xml version="1.0" ?>
<lz:project xmlns:lz="http://schemas.icitadel.com/Lazarus/Source.xsd"
	name="ImportMaps" namespace="FAI.Reuse" owner="dbo" user="jmuharsky" namespaceprefix="fmm" businessconcept="ImportMaps">
	<lz:description>Data Import business entity.</lz:description>
	<lz:datasource location="WARREN" schema="DMV2" user="gkirrel" password="hcccc.be1" />
	<lz:defaults>
		<lz:fields>
			<lz:field name="Id" alias="id" type="Identity" autogenerate="true" required="true">
				<lz:indexes>
					<lz:index type="Primary" />
				</lz:indexes>
			</lz:field>
		</lz:fields>
	</lz:defaults>
	<lz:datasource location="WARREN" schema="DataImport" user="sa" password="hcccc.be" />
	<lz:objects>
		<lz:object name="ImportMapManager" alias="map-manager">
			<lz:description>Contains a list of Import Mappings</lz:description>
			<lz:collections>
				<lz:collection name="Maps" object="ImportMap" />
			</lz:collections>
		</lz:object>
		<lz:object name="ImportMap" alias="import-map" title-field="Name">
			<lz:description>Defines a set of columns for import, and a method to call to persist them to the database.</lz:description>
			<lz:fields>
				<lz:field name="Name" type="Varchar" size="255" />
				<lz:field name="Entity" type="Varchar" size="255" />
				<lz:field name="HeaderRows" type="Int" required="true" default="0">
					<lz:description>Specifies the number of rows to skip before beginning import.  This is used to identify column header information in the import files.</lz:description>
				</lz:field>
				<lz:field name="FooterRows" type="Int" required="true" default="0">
					<lz:description>Specifies the number of rows to skip at the end of an import.  This is used to identify column footer information in the import files.</lz:description>
				</lz:field>
			</lz:fields>
			<lz:collections>
				<lz:collection name="Columns" object="ImportColumn" />
			</lz:collections>
		</lz:object>
		<lz:object name="ImportColumn" alias="import-column" title-field="Name">
			<lz:description>Defines a column to import.</lz:description>
			<lz:fields>
				<lz:field name="EntityName" type="Varchar" size="255" />
				<lz:field name="FieldName" type="Varchar" size="255" />
				<lz:field name="Type" type="Varchar" size="255" />
				<lz:field name="StartPos" alias="start-pos" type="Int" required="true" />
				<lz:field name="EndPos" alias="end-pos" type="Int" required="true" />
			</lz:fields>
		</lz:object>
	</lz:objects>
</lz:project>